<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>hwloc</Name>
        <Homepage>https://www.open-mpi.org/projects/hwloc/</Homepage>
        <Packager>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Packager>
        <PartOf>hardware.misc</PartOf>
        <License>BSD</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>Portable Hardware Locality (hwloc)</Summary>
        <Description>The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, ...) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system attributes such as cache and memory information as well as the locality of I/O devices such as network interfaces, InfiniBand HCAs or GPUs.</Description>
        <Archive sha1sum="314faaeda9f1982da97fca93b83307bc34d5b414" type="tarbz2">https://download.open-mpi.org/release/hwloc/v2.8/hwloc-2.8.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>numactl-devel</Dependency>
            <Dependency>libpciaccess-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">hwloc-1.8.1-gl.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>hwloc</Name>
        <Summary>Portable Hardware Locality (hwloc)</Summary>
        <RuntimeDependencies>
            <Dependency>cairo</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>numactl</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpciaccess</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/hwloc</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/bash-completion/completions/hwloc</Path>
        </Files>
    </Package>

    <Package>
        <Name>hwloc-devel</Name>
        <Summary>Development files for hwloc</Summary>
        <RuntimeDependencies>
            <Dependency release="current">hwloc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2022-07-06</Date>
            <Version>2.8.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2021-12-14</Date>
            <Version>2.7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2020-05-22</Date>
            <Version>2.2.0</Version>
            <Comment>First Pisi Release</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
    </History>
</PISI>
